package cn.com.greatwall.system.modules.system.service.dto;

import java.io.Serializable;

import cn.com.greatwall.common.base.BaseDTO;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * @Author herw
 * @Time 2020-06-28 10:29:26 AM
 * @Version 1.0
 * @Description:
 */
@Getter
@Setter
@NoArgsConstructor
public class JobDto extends BaseDTO implements Serializable {
    private Long id;
    private Integer jobSort;
    private String name;
    private Boolean enabled;

    public JobDto(String name, Boolean enabled) {
        this.name = name;
        this.enabled = enabled;
    }
}
